package sy.service.impl;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import sy.dao.AppEquipmentDaoI;
import sy.dao.AppFunctionDaoI;
import sy.dao.SysAccountAppFunctionMappingDaoI;
import sy.model.AppEquipment;
import sy.model.AppFunction;
import sy.model.SysAccount;
import sy.model.SysAccountAppFunctionMapping;
import sy.service.AppEquipmentServiceI;
import sy.service.AppFunctionServiceI;
import sy.service.SysAccountAppFunctionMappingServiceI;
import sy.util.ResultJson;
@Service("sysAccountAppFunctionMappingService")
public class SysAccountAppFunctionMappingServiceImpl implements SysAccountAppFunctionMappingServiceI{
	@Autowired
	SysAccountAppFunctionMappingDaoI accountAppFunctionMappingDao;

	@Override
	public Serializable deleteBySysAccountId(String sysAccountId) {
		// TODO Auto-generated method stub
		return accountAppFunctionMappingDao.deleteBySysAccountId(sysAccountId);
	}

	@Override
	public void saveBatch(List<SysAccountAppFunctionMapping> list) {
		// TODO Auto-generated method stub
		accountAppFunctionMappingDao.saveBatch(list);
	}

	@Override
	public List<AppFunction> listAppFunction(String accountId) {
		// TODO Auto-generated method stub
		return accountAppFunctionMappingDao.listAppFunction(accountId);
	}

	
}
